
#ifndef __KERNELCONFIG_H__
#define __KERNELCONFIG_H__

// RTOS Configure
#define CONFIG_TASK_STACK_SIZE		4096
#define CONFIG_EXCEPT_STACK_SIZE	4096
#define CONFIG_MAX_PRIORITY			256
#define CONFIG_TICK_CLOCK			10000 // us
#define CONFIG_SCHED_TIME_QUANTUM	10
#define	CONFIG_EVENT_FLAG_SIZE		32

#define CONFIG_IDLE_TASK_PRIORITY	0

#define CONFIG_PRIORITY_INDEX_BLOCK_SIZE	8


// NDS
#define printf	iprintf


#define __REG(reg)  (*(volatile unsigned int *)(reg))

#endif /* __KERNELCONFIG_H__ end. */


